# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=spice-protocol
pkgver=0.14.1
pkgrel=0
pkgdesc="Spice protocol header files"
url="http://www.spice-space.org/"
arch="noarch"
license="BSD-3-Clause LGPL-2.1-or-later"
options="!check" # No test suite
makedepends="meson"
source="https://www.spice-space.org/download/releases/spice-protocol-$pkgver.tar.bz2"

build() {
	meson build/ \
		--buildtype=plain \
		--prefix=/usr \
		--datadir=lib

	ninja -C build/
}

package() {
	DESTDIR="$pkgdir" ninja -C build/ install
}

sha512sums="88b0e652564a1f826ee6d3c165ab05c40d13f366567db3840805f03d433d13d7f722225219c26759770d2cde33221fe6d97528521d0eb14bc069cd7ce9af8482  spice-protocol-0.14.1.tar.bz2"
